/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Model;

import java.util.HashSet;
import java.util.Set;

/**
 *
 * @author pedro
 */
public class Localizacao  implements java.io.Serializable {


     private Integer cod;
     private String local;
     private double latitude;
     private double longitude;
     private Set posts = new HashSet(0);

    public Localizacao() {
    }

	
    public Localizacao(String local, double latitude, double longitude) {
        this.local = local;
        this.latitude = latitude;
        this.longitude = longitude;
    }
    public Localizacao(String local, double latitude, double longitude, Set posts) {
       this.local = local;
       this.latitude = latitude;
       this.longitude = longitude;
       this.posts = posts;
    }
   
    public Integer getCod() {
        return this.cod;
    }
    
    public void setCod(Integer cod) {
        this.cod = cod;
    }
    public String getLocal() {
        return this.local;
    }
    
    public void setLocal(String local) {
        this.local = local;
    }
    public double getLatitude() {
        return this.latitude;
    }
    
    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }
    public double getLongitude() {
        return this.longitude;
    }
    
    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }
    public Set getPosts() {
        return this.posts;
    }
    
    public void setPosts(Set posts) {
        this.posts = posts;
    }




}



